Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Time Base Functions / Working With Time Base Values


GetTimeBaseRate

The GetTimeBaseRate function allows your application to retrieve the rate of a time base.

Rates may be set to negative values. Negative rates cause time to move backward for the time base.

pascal Fixed GetTimeBaseRate (TimeBase tb);
tb
Specifies the time base for this operation. Your application obtains this time base identifier from the NewTimeBase function (described on page 2-297).
DESCRIPTION
The GetTimeBaseRate function returns the current rate of the time base as a fixed-point number. This rate value may be nonzero even if the time base has stopped, because it has reached its stop time.

ERROR CODES
None


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996